<template>
	<div>
		  <lunbo :list = 'list' :isfull = 'disp'></lunbo>
		  <ul class="mui-table-view mui-grid-view mui-grid-9">
		            <RouterLink to="/home/newslist" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <span class="mui-icon mui-icon-home"></span>
		                    <div class="mui-media-body">新闻资讯</div></a></RouterLink>
		            <RouterLink to="/home/Analysis" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <span class="mui-icon mui-icon-email"><span class="mui-badge">5</span></span>
		                    <div class="mui-media-body">图片分享</div></a></RouterLink>
		            <RouterLink to="/home/shop" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <span class="mui-icon mui-icon-chatbubble"></span>
		                    <div class="mui-media-body">商品购买</div></a></RouterLink>
		            <RouterLink to="/home/newslist" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <span class="mui-icon mui-icon-location"></span>
		                    <div class="mui-media-body">留言反馈</div></a></RouterLink>
		            <RouterLink to="/home/newslist" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <span class="mui-icon mui-icon-search"></span>
		                    <div class="mui-media-body">视频专区</div></a></RouterLink>
		            <RouterLink to="/home/newslist" class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <span class="mui-icon mui-icon-phone"></span>
		                    <div class="mui-media-body">联系我们</div></a></RouterLink>	            
		        </ul> 
		</div>
	</div>
</template>

<script>
import lunbo from '../assembly/luobo.vue'
	export default {
		data(){
			return {
				list:[],
				falg:true,
				disp:true
			}
		},
		created(){
			this.getList()
		},
		methods:{
			getList(){
				this.$http.get('api/getlunbo').then(result => {
					if(result.body.status == 0){
						this.list = result.body.message
						console.log(this.list)
					}
				})
			},
			
		},
		components:{
			'lunbo':lunbo
		}
	}
</script>

<style scoped lang="less">
	.mui-grid-view.mui-grid-9{
		background: white;
		.mui-media-body{
			font-size: 13px;
		};
	}
	.mui-grid-view.mui-grid-9 .mui-table-view-cell{
		border: 0;
	}
</style>
